import java.awt.*;

public class PointR implements java.lang.Cloneable
{
    public double x, y;
    public int t;

    public PointR(double x, double y)
    {
        this(x, y, 0);
    }

    public PointR(double x, double y, int t)
    {
        this.x = x;
        this.y = y;
        this.t = t;
    }

    public Object clone() throws CloneNotSupportedException
    {
        PointR p = (PointR) super.clone();
        p.x = this.x;
        p.y = this.y;
        p.t = this.t;
        return p;
    }

    public boolean equals(Object o)
    {
        if (o instanceof PointR)
        {
            PointR p = (PointR) o;
            return (this.x == p.x && this.y == p.y);
        }
        return false;
    }

    public int hashCode()
    {
        return super.hashCode();
    }
}
